package com.jsh.erp.datasource.entities;

import java.util.ArrayList;
import java.util.List;

public class ScOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ScOrderExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andKhxxIsNull() {
            addCriterion("khxx is null");
            return (Criteria) this;
        }

        public Criteria andKhxxIsNotNull() {
            addCriterion("khxx is not null");
            return (Criteria) this;
        }

        public Criteria andKhxxEqualTo(String value) {
            addCriterion("khxx =", value, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxNotEqualTo(String value) {
            addCriterion("khxx <>", value, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxGreaterThan(String value) {
            addCriterion("khxx >", value, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxGreaterThanOrEqualTo(String value) {
            addCriterion("khxx >=", value, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxLessThan(String value) {
            addCriterion("khxx <", value, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxLessThanOrEqualTo(String value) {
            addCriterion("khxx <=", value, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxLike(String value) {
            addCriterion("khxx like", value, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxNotLike(String value) {
            addCriterion("khxx not like", value, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxIn(List<String> values) {
            addCriterion("khxx in", values, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxNotIn(List<String> values) {
            addCriterion("khxx not in", values, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxBetween(String value1, String value2) {
            addCriterion("khxx between", value1, value2, "khxx");
            return (Criteria) this;
        }

        public Criteria andKhxxNotBetween(String value1, String value2) {
            addCriterion("khxx not between", value1, value2, "khxx");
            return (Criteria) this;
        }

        public Criteria andGuigeIsNull() {
            addCriterion("guige is null");
            return (Criteria) this;
        }

        public Criteria andGuigeIsNotNull() {
            addCriterion("guige is not null");
            return (Criteria) this;
        }

        public Criteria andGuigeEqualTo(String value) {
            addCriterion("guige =", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeNotEqualTo(String value) {
            addCriterion("guige <>", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeGreaterThan(String value) {
            addCriterion("guige >", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeGreaterThanOrEqualTo(String value) {
            addCriterion("guige >=", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeLessThan(String value) {
            addCriterion("guige <", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeLessThanOrEqualTo(String value) {
            addCriterion("guige <=", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeLike(String value) {
            addCriterion("guige like", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeNotLike(String value) {
            addCriterion("guige not like", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeIn(List<String> values) {
            addCriterion("guige in", values, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeNotIn(List<String> values) {
            addCriterion("guige not in", values, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeBetween(String value1, String value2) {
            addCriterion("guige between", value1, value2, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeNotBetween(String value1, String value2) {
            addCriterion("guige not between", value1, value2, "guige");
            return (Criteria) this;
        }

        public Criteria andCaizhiIsNull() {
            addCriterion("caizhi is null");
            return (Criteria) this;
        }

        public Criteria andCaizhiIsNotNull() {
            addCriterion("caizhi is not null");
            return (Criteria) this;
        }

        public Criteria andCaizhiEqualTo(String value) {
            addCriterion("caizhi =", value, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiNotEqualTo(String value) {
            addCriterion("caizhi <>", value, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiGreaterThan(String value) {
            addCriterion("caizhi >", value, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiGreaterThanOrEqualTo(String value) {
            addCriterion("caizhi >=", value, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiLessThan(String value) {
            addCriterion("caizhi <", value, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiLessThanOrEqualTo(String value) {
            addCriterion("caizhi <=", value, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiLike(String value) {
            addCriterion("caizhi like", value, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiNotLike(String value) {
            addCriterion("caizhi not like", value, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiIn(List<String> values) {
            addCriterion("caizhi in", values, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiNotIn(List<String> values) {
            addCriterion("caizhi not in", values, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiBetween(String value1, String value2) {
            addCriterion("caizhi between", value1, value2, "caizhi");
            return (Criteria) this;
        }

        public Criteria andCaizhiNotBetween(String value1, String value2) {
            addCriterion("caizhi not between", value1, value2, "caizhi");
            return (Criteria) this;
        }

        public Criteria andNumberIsNull() {
            addCriterion("number is null");
            return (Criteria) this;
        }

        public Criteria andNumberIsNotNull() {
            addCriterion("number is not null");
            return (Criteria) this;
        }

        public Criteria andNumberEqualTo(String value) {
            addCriterion("number =", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotEqualTo(String value) {
            addCriterion("number <>", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThan(String value) {
            addCriterion("number >", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThanOrEqualTo(String value) {
            addCriterion("number >=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThan(String value) {
            addCriterion("number <", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThanOrEqualTo(String value) {
            addCriterion("number <=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLike(String value) {
            addCriterion("number like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotLike(String value) {
            addCriterion("number not like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberIn(List<String> values) {
            addCriterion("number in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotIn(List<String> values) {
            addCriterion("number not in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberBetween(String value1, String value2) {
            addCriterion("number between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotBetween(String value1, String value2) {
            addCriterion("number not between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andGzdbhIsNull() {
            addCriterion("gzdbh is null");
            return (Criteria) this;
        }

        public Criteria andGzdbhIsNotNull() {
            addCriterion("gzdbh is not null");
            return (Criteria) this;
        }

        public Criteria andGzdbhEqualTo(String value) {
            addCriterion("gzdbh =", value, "gzdbh");
            return (Criteria) this;
        }

        public Criteria andGzdbhNotEqualTo(String value) {
            addCriterion("gzdbh <>", value, "gzdbh");
            return (Criteria) this;
        }

        public Criteria andGzdbhGreaterThan(String value) {
            addCriterion("gzdbh >", value, "gzdbh");
            return (Criteria) this;
        }

        public Criteria andGzdbhGreaterThanOrEqualTo(String value) {
            addCriterion("gzdbh >=", value, "gzdbh");
            return (Criteria) this;
        }

        public Criteria andGzdbhLessThan(String value) {
            addCriterion("gzdbh <", value, "gzdbh");
            return (Criteria) this;
        }

        public Criteria andGzdbhLessThanOrEqualTo(String value) {
            addCriterion("gzdbh <=", value, "gzdbh");
            return (Criteria) this;
        }

        public Criteria andGzdbhLike(String value) {
            addCriterion("gzdbh like", value, "gzdbh");
            return (Criteria) this;
        }

        public Criteria andGzdbhNotLike(String value) {
            addCriterion("gzdbh not like", value, "gzdbh");
            return (Criteria) this;
        }

        public Criteria andGzdbhIn(List<String> values) {
            addCriterion("gzdbh in", values, "gzdbh");
            return (Criteria) this;
        }

        public Criteria andGzdbhNotIn(List<String> values) {
            addCriterion("gzdbh not in", values, "gzdbh");
            return (Criteria) this;
        }

        public Criteria andGzdbhBetween(String value1, String value2) {
            addCriterion("gzdbh between", value1, value2, "gzdbh");
            return (Criteria) this;
        }

        public Criteria andGzdbhNotBetween(String value1, String value2) {
            addCriterion("gzdbh not between", value1, value2, "gzdbh");
            return (Criteria) this;
        }

        public Criteria andDhrqIsNull() {
            addCriterion("dhrq is null");
            return (Criteria) this;
        }

        public Criteria andDhrqIsNotNull() {
            addCriterion("dhrq is not null");
            return (Criteria) this;
        }

        public Criteria andDhrqEqualTo(String value) {
            addCriterion("dhrq =", value, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqNotEqualTo(String value) {
            addCriterion("dhrq <>", value, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqGreaterThan(String value) {
            addCriterion("dhrq >", value, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqGreaterThanOrEqualTo(String value) {
            addCriterion("dhrq >=", value, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqLessThan(String value) {
            addCriterion("dhrq <", value, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqLessThanOrEqualTo(String value) {
            addCriterion("dhrq <=", value, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqLike(String value) {
            addCriterion("dhrq like", value, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqNotLike(String value) {
            addCriterion("dhrq not like", value, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqIn(List<String> values) {
            addCriterion("dhrq in", values, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqNotIn(List<String> values) {
            addCriterion("dhrq not in", values, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqBetween(String value1, String value2) {
            addCriterion("dhrq between", value1, value2, "dhrq");
            return (Criteria) this;
        }

        public Criteria andDhrqNotBetween(String value1, String value2) {
            addCriterion("dhrq not between", value1, value2, "dhrq");
            return (Criteria) this;
        }

        public Criteria andYjjhrqIsNull() {
            addCriterion("yjjhrq is null");
            return (Criteria) this;
        }

        public Criteria andYjjhrqIsNotNull() {
            addCriterion("yjjhrq is not null");
            return (Criteria) this;
        }

        public Criteria andYjjhrqEqualTo(String value) {
            addCriterion("yjjhrq =", value, "yjjhrq");
            return (Criteria) this;
        }

        public Criteria andYjjhrqNotEqualTo(String value) {
            addCriterion("yjjhrq <>", value, "yjjhrq");
            return (Criteria) this;
        }

        public Criteria andYjjhrqGreaterThan(String value) {
            addCriterion("yjjhrq >", value, "yjjhrq");
            return (Criteria) this;
        }

        public Criteria andYjjhrqGreaterThanOrEqualTo(String value) {
            addCriterion("yjjhrq >=", value, "yjjhrq");
            return (Criteria) this;
        }

        public Criteria andYjjhrqLessThan(String value) {
            addCriterion("yjjhrq <", value, "yjjhrq");
            return (Criteria) this;
        }

        public Criteria andYjjhrqLessThanOrEqualTo(String value) {
            addCriterion("yjjhrq <=", value, "yjjhrq");
            return (Criteria) this;
        }

        public Criteria andYjjhrqLike(String value) {
            addCriterion("yjjhrq like", value, "yjjhrq");
            return (Criteria) this;
        }

        public Criteria andYjjhrqNotLike(String value) {
            addCriterion("yjjhrq not like", value, "yjjhrq");
            return (Criteria) this;
        }

        public Criteria andYjjhrqIn(List<String> values) {
            addCriterion("yjjhrq in", values, "yjjhrq");
            return (Criteria) this;
        }

        public Criteria andYjjhrqNotIn(List<String> values) {
            addCriterion("yjjhrq not in", values, "yjjhrq");
            return (Criteria) this;
        }

        public Criteria andYjjhrqBetween(String value1, String value2) {
            addCriterion("yjjhrq between", value1, value2, "yjjhrq");
            return (Criteria) this;
        }

        public Criteria andYjjhrqNotBetween(String value1, String value2) {
            addCriterion("yjjhrq not between", value1, value2, "yjjhrq");
            return (Criteria) this;
        }

        public Criteria andYougouIsNull() {
            addCriterion("yougou is null");
            return (Criteria) this;
        }

        public Criteria andYougouIsNotNull() {
            addCriterion("yougou is not null");
            return (Criteria) this;
        }

        public Criteria andYougouEqualTo(String value) {
            addCriterion("yougou =", value, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouNotEqualTo(String value) {
            addCriterion("yougou <>", value, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouGreaterThan(String value) {
            addCriterion("yougou >", value, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouGreaterThanOrEqualTo(String value) {
            addCriterion("yougou >=", value, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouLessThan(String value) {
            addCriterion("yougou <", value, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouLessThanOrEqualTo(String value) {
            addCriterion("yougou <=", value, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouLike(String value) {
            addCriterion("yougou like", value, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouNotLike(String value) {
            addCriterion("yougou not like", value, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouIn(List<String> values) {
            addCriterion("yougou in", values, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouNotIn(List<String> values) {
            addCriterion("yougou not in", values, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouBetween(String value1, String value2) {
            addCriterion("yougou between", value1, value2, "yougou");
            return (Criteria) this;
        }

        public Criteria andYougouNotBetween(String value1, String value2) {
            addCriterion("yougou not between", value1, value2, "yougou");
            return (Criteria) this;
        }

        public Criteria andYyccIsNull() {
            addCriterion("yycc is null");
            return (Criteria) this;
        }

        public Criteria andYyccIsNotNull() {
            addCriterion("yycc is not null");
            return (Criteria) this;
        }

        public Criteria andYyccEqualTo(String value) {
            addCriterion("yycc =", value, "yycc");
            return (Criteria) this;
        }

        public Criteria andYyccNotEqualTo(String value) {
            addCriterion("yycc <>", value, "yycc");
            return (Criteria) this;
        }

        public Criteria andYyccGreaterThan(String value) {
            addCriterion("yycc >", value, "yycc");
            return (Criteria) this;
        }

        public Criteria andYyccGreaterThanOrEqualTo(String value) {
            addCriterion("yycc >=", value, "yycc");
            return (Criteria) this;
        }

        public Criteria andYyccLessThan(String value) {
            addCriterion("yycc <", value, "yycc");
            return (Criteria) this;
        }

        public Criteria andYyccLessThanOrEqualTo(String value) {
            addCriterion("yycc <=", value, "yycc");
            return (Criteria) this;
        }

        public Criteria andYyccLike(String value) {
            addCriterion("yycc like", value, "yycc");
            return (Criteria) this;
        }

        public Criteria andYyccNotLike(String value) {
            addCriterion("yycc not like", value, "yycc");
            return (Criteria) this;
        }

        public Criteria andYyccIn(List<String> values) {
            addCriterion("yycc in", values, "yycc");
            return (Criteria) this;
        }

        public Criteria andYyccNotIn(List<String> values) {
            addCriterion("yycc not in", values, "yycc");
            return (Criteria) this;
        }

        public Criteria andYyccBetween(String value1, String value2) {
            addCriterion("yycc between", value1, value2, "yycc");
            return (Criteria) this;
        }

        public Criteria andYyccNotBetween(String value1, String value2) {
            addCriterion("yycc not between", value1, value2, "yycc");
            return (Criteria) this;
        }

        public Criteria andZhizhengIsNull() {
            addCriterion("zhizheng is null");
            return (Criteria) this;
        }

        public Criteria andZhizhengIsNotNull() {
            addCriterion("zhizheng is not null");
            return (Criteria) this;
        }

        public Criteria andZhizhengEqualTo(String value) {
            addCriterion("zhizheng =", value, "zhizheng");
            return (Criteria) this;
        }

        public Criteria andZhizhengNotEqualTo(String value) {
            addCriterion("zhizheng <>", value, "zhizheng");
            return (Criteria) this;
        }

        public Criteria andZhizhengGreaterThan(String value) {
            addCriterion("zhizheng >", value, "zhizheng");
            return (Criteria) this;
        }

        public Criteria andZhizhengGreaterThanOrEqualTo(String value) {
            addCriterion("zhizheng >=", value, "zhizheng");
            return (Criteria) this;
        }

        public Criteria andZhizhengLessThan(String value) {
            addCriterion("zhizheng <", value, "zhizheng");
            return (Criteria) this;
        }

        public Criteria andZhizhengLessThanOrEqualTo(String value) {
            addCriterion("zhizheng <=", value, "zhizheng");
            return (Criteria) this;
        }

        public Criteria andZhizhengLike(String value) {
            addCriterion("zhizheng like", value, "zhizheng");
            return (Criteria) this;
        }

        public Criteria andZhizhengNotLike(String value) {
            addCriterion("zhizheng not like", value, "zhizheng");
            return (Criteria) this;
        }

        public Criteria andZhizhengIn(List<String> values) {
            addCriterion("zhizheng in", values, "zhizheng");
            return (Criteria) this;
        }

        public Criteria andZhizhengNotIn(List<String> values) {
            addCriterion("zhizheng not in", values, "zhizheng");
            return (Criteria) this;
        }

        public Criteria andZhizhengBetween(String value1, String value2) {
            addCriterion("zhizheng between", value1, value2, "zhizheng");
            return (Criteria) this;
        }

        public Criteria andZhizhengNotBetween(String value1, String value2) {
            addCriterion("zhizheng not between", value1, value2, "zhizheng");
            return (Criteria) this;
        }

        public Criteria andWeightIsNull() {
            addCriterion("weight is null");
            return (Criteria) this;
        }

        public Criteria andWeightIsNotNull() {
            addCriterion("weight is not null");
            return (Criteria) this;
        }

        public Criteria andWeightEqualTo(String value) {
            addCriterion("weight =", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotEqualTo(String value) {
            addCriterion("weight <>", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThan(String value) {
            addCriterion("weight >", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThanOrEqualTo(String value) {
            addCriterion("weight >=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThan(String value) {
            addCriterion("weight <", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThanOrEqualTo(String value) {
            addCriterion("weight <=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLike(String value) {
            addCriterion("weight like", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotLike(String value) {
            addCriterion("weight not like", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightIn(List<String> values) {
            addCriterion("weight in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotIn(List<String> values) {
            addCriterion("weight not in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightBetween(String value1, String value2) {
            addCriterion("weight between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotBetween(String value1, String value2) {
            addCriterion("weight not between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andGgcctxIsNull() {
            addCriterion("ggcctx is null");
            return (Criteria) this;
        }

        public Criteria andGgcctxIsNotNull() {
            addCriterion("ggcctx is not null");
            return (Criteria) this;
        }

        public Criteria andGgcctxEqualTo(String value) {
            addCriterion("ggcctx =", value, "ggcctx");
            return (Criteria) this;
        }

        public Criteria andGgcctxNotEqualTo(String value) {
            addCriterion("ggcctx <>", value, "ggcctx");
            return (Criteria) this;
        }

        public Criteria andGgcctxGreaterThan(String value) {
            addCriterion("ggcctx >", value, "ggcctx");
            return (Criteria) this;
        }

        public Criteria andGgcctxGreaterThanOrEqualTo(String value) {
            addCriterion("ggcctx >=", value, "ggcctx");
            return (Criteria) this;
        }

        public Criteria andGgcctxLessThan(String value) {
            addCriterion("ggcctx <", value, "ggcctx");
            return (Criteria) this;
        }

        public Criteria andGgcctxLessThanOrEqualTo(String value) {
            addCriterion("ggcctx <=", value, "ggcctx");
            return (Criteria) this;
        }

        public Criteria andGgcctxLike(String value) {
            addCriterion("ggcctx like", value, "ggcctx");
            return (Criteria) this;
        }

        public Criteria andGgcctxNotLike(String value) {
            addCriterion("ggcctx not like", value, "ggcctx");
            return (Criteria) this;
        }

        public Criteria andGgcctxIn(List<String> values) {
            addCriterion("ggcctx in", values, "ggcctx");
            return (Criteria) this;
        }

        public Criteria andGgcctxNotIn(List<String> values) {
            addCriterion("ggcctx not in", values, "ggcctx");
            return (Criteria) this;
        }

        public Criteria andGgcctxBetween(String value1, String value2) {
            addCriterion("ggcctx between", value1, value2, "ggcctx");
            return (Criteria) this;
        }

        public Criteria andGgcctxNotBetween(String value1, String value2) {
            addCriterion("ggcctx not between", value1, value2, "ggcctx");
            return (Criteria) this;
        }

        public Criteria andCxcctxIsNull() {
            addCriterion("cxcctx is null");
            return (Criteria) this;
        }

        public Criteria andCxcctxIsNotNull() {
            addCriterion("cxcctx is not null");
            return (Criteria) this;
        }

        public Criteria andCxcctxEqualTo(String value) {
            addCriterion("cxcctx =", value, "cxcctx");
            return (Criteria) this;
        }

        public Criteria andCxcctxNotEqualTo(String value) {
            addCriterion("cxcctx <>", value, "cxcctx");
            return (Criteria) this;
        }

        public Criteria andCxcctxGreaterThan(String value) {
            addCriterion("cxcctx >", value, "cxcctx");
            return (Criteria) this;
        }

        public Criteria andCxcctxGreaterThanOrEqualTo(String value) {
            addCriterion("cxcctx >=", value, "cxcctx");
            return (Criteria) this;
        }

        public Criteria andCxcctxLessThan(String value) {
            addCriterion("cxcctx <", value, "cxcctx");
            return (Criteria) this;
        }

        public Criteria andCxcctxLessThanOrEqualTo(String value) {
            addCriterion("cxcctx <=", value, "cxcctx");
            return (Criteria) this;
        }

        public Criteria andCxcctxLike(String value) {
            addCriterion("cxcctx like", value, "cxcctx");
            return (Criteria) this;
        }

        public Criteria andCxcctxNotLike(String value) {
            addCriterion("cxcctx not like", value, "cxcctx");
            return (Criteria) this;
        }

        public Criteria andCxcctxIn(List<String> values) {
            addCriterion("cxcctx in", values, "cxcctx");
            return (Criteria) this;
        }

        public Criteria andCxcctxNotIn(List<String> values) {
            addCriterion("cxcctx not in", values, "cxcctx");
            return (Criteria) this;
        }

        public Criteria andCxcctxBetween(String value1, String value2) {
            addCriterion("cxcctx between", value1, value2, "cxcctx");
            return (Criteria) this;
        }

        public Criteria andCxcctxNotBetween(String value1, String value2) {
            addCriterion("cxcctx not between", value1, value2, "cxcctx");
            return (Criteria) this;
        }

        public Criteria andYouyacaozuoIsNull() {
            addCriterion("youyacaozuo is null");
            return (Criteria) this;
        }

        public Criteria andYouyacaozuoIsNotNull() {
            addCriterion("youyacaozuo is not null");
            return (Criteria) this;
        }

        public Criteria andYouyacaozuoEqualTo(String value) {
            addCriterion("youyacaozuo =", value, "youyacaozuo");
            return (Criteria) this;
        }

        public Criteria andYouyacaozuoNotEqualTo(String value) {
            addCriterion("youyacaozuo <>", value, "youyacaozuo");
            return (Criteria) this;
        }

        public Criteria andYouyacaozuoGreaterThan(String value) {
            addCriterion("youyacaozuo >", value, "youyacaozuo");
            return (Criteria) this;
        }

        public Criteria andYouyacaozuoGreaterThanOrEqualTo(String value) {
            addCriterion("youyacaozuo >=", value, "youyacaozuo");
            return (Criteria) this;
        }

        public Criteria andYouyacaozuoLessThan(String value) {
            addCriterion("youyacaozuo <", value, "youyacaozuo");
            return (Criteria) this;
        }

        public Criteria andYouyacaozuoLessThanOrEqualTo(String value) {
            addCriterion("youyacaozuo <=", value, "youyacaozuo");
            return (Criteria) this;
        }

        public Criteria andYouyacaozuoLike(String value) {
            addCriterion("youyacaozuo like", value, "youyacaozuo");
            return (Criteria) this;
        }

        public Criteria andYouyacaozuoNotLike(String value) {
            addCriterion("youyacaozuo not like", value, "youyacaozuo");
            return (Criteria) this;
        }

        public Criteria andYouyacaozuoIn(List<String> values) {
            addCriterion("youyacaozuo in", values, "youyacaozuo");
            return (Criteria) this;
        }

        public Criteria andYouyacaozuoNotIn(List<String> values) {
            addCriterion("youyacaozuo not in", values, "youyacaozuo");
            return (Criteria) this;
        }

        public Criteria andYouyacaozuoBetween(String value1, String value2) {
            addCriterion("youyacaozuo between", value1, value2, "youyacaozuo");
            return (Criteria) this;
        }

        public Criteria andYouyacaozuoNotBetween(String value1, String value2) {
            addCriterion("youyacaozuo not between", value1, value2, "youyacaozuo");
            return (Criteria) this;
        }

        public Criteria andJitaiIsNull() {
            addCriterion("jitai is null");
            return (Criteria) this;
        }

        public Criteria andJitaiIsNotNull() {
            addCriterion("jitai is not null");
            return (Criteria) this;
        }

        public Criteria andJitaiEqualTo(String value) {
            addCriterion("jitai =", value, "jitai");
            return (Criteria) this;
        }

        public Criteria andJitaiNotEqualTo(String value) {
            addCriterion("jitai <>", value, "jitai");
            return (Criteria) this;
        }

        public Criteria andJitaiGreaterThan(String value) {
            addCriterion("jitai >", value, "jitai");
            return (Criteria) this;
        }

        public Criteria andJitaiGreaterThanOrEqualTo(String value) {
            addCriterion("jitai >=", value, "jitai");
            return (Criteria) this;
        }

        public Criteria andJitaiLessThan(String value) {
            addCriterion("jitai <", value, "jitai");
            return (Criteria) this;
        }

        public Criteria andJitaiLessThanOrEqualTo(String value) {
            addCriterion("jitai <=", value, "jitai");
            return (Criteria) this;
        }

        public Criteria andJitaiLike(String value) {
            addCriterion("jitai like", value, "jitai");
            return (Criteria) this;
        }

        public Criteria andJitaiNotLike(String value) {
            addCriterion("jitai not like", value, "jitai");
            return (Criteria) this;
        }

        public Criteria andJitaiIn(List<String> values) {
            addCriterion("jitai in", values, "jitai");
            return (Criteria) this;
        }

        public Criteria andJitaiNotIn(List<String> values) {
            addCriterion("jitai not in", values, "jitai");
            return (Criteria) this;
        }

        public Criteria andJitaiBetween(String value1, String value2) {
            addCriterion("jitai between", value1, value2, "jitai");
            return (Criteria) this;
        }

        public Criteria andJitaiNotBetween(String value1, String value2) {
            addCriterion("jitai not between", value1, value2, "jitai");
            return (Criteria) this;
        }

        public Criteria andChengxingcaozucxcaozuoIsNull() {
            addCriterion("chengxingcaozucxcaozuo is null");
            return (Criteria) this;
        }

        public Criteria andChengxingcaozucxcaozuoIsNotNull() {
            addCriterion("chengxingcaozucxcaozuo is not null");
            return (Criteria) this;
        }

        public Criteria andChengxingcaozucxcaozuoEqualTo(String value) {
            addCriterion("chengxingcaozucxcaozuo =", value, "chengxingcaozucxcaozuo");
            return (Criteria) this;
        }

        public Criteria andChengxingcaozucxcaozuoNotEqualTo(String value) {
            addCriterion("chengxingcaozucxcaozuo <>", value, "chengxingcaozucxcaozuo");
            return (Criteria) this;
        }

        public Criteria andChengxingcaozucxcaozuoGreaterThan(String value) {
            addCriterion("chengxingcaozucxcaozuo >", value, "chengxingcaozucxcaozuo");
            return (Criteria) this;
        }

        public Criteria andChengxingcaozucxcaozuoGreaterThanOrEqualTo(String value) {
            addCriterion("chengxingcaozucxcaozuo >=", value, "chengxingcaozucxcaozuo");
            return (Criteria) this;
        }

        public Criteria andChengxingcaozucxcaozuoLessThan(String value) {
            addCriterion("chengxingcaozucxcaozuo <", value, "chengxingcaozucxcaozuo");
            return (Criteria) this;
        }

        public Criteria andChengxingcaozucxcaozuoLessThanOrEqualTo(String value) {
            addCriterion("chengxingcaozucxcaozuo <=", value, "chengxingcaozucxcaozuo");
            return (Criteria) this;
        }

        public Criteria andChengxingcaozucxcaozuoLike(String value) {
            addCriterion("chengxingcaozucxcaozuo like", value, "chengxingcaozucxcaozuo");
            return (Criteria) this;
        }

        public Criteria andChengxingcaozucxcaozuoNotLike(String value) {
            addCriterion("chengxingcaozucxcaozuo not like", value, "chengxingcaozucxcaozuo");
            return (Criteria) this;
        }

        public Criteria andChengxingcaozucxcaozuoIn(List<String> values) {
            addCriterion("chengxingcaozucxcaozuo in", values, "chengxingcaozucxcaozuo");
            return (Criteria) this;
        }

        public Criteria andChengxingcaozucxcaozuoNotIn(List<String> values) {
            addCriterion("chengxingcaozucxcaozuo not in", values, "chengxingcaozucxcaozuo");
            return (Criteria) this;
        }

        public Criteria andChengxingcaozucxcaozuoBetween(String value1, String value2) {
            addCriterion("chengxingcaozucxcaozuo between", value1, value2, "chengxingcaozucxcaozuo");
            return (Criteria) this;
        }

        public Criteria andChengxingcaozucxcaozuoNotBetween(String value1, String value2) {
            addCriterion("chengxingcaozucxcaozuo not between", value1, value2, "chengxingcaozucxcaozuo");
            return (Criteria) this;
        }

        public Criteria andShaojieriqiIsNull() {
            addCriterion("shaojieriqi is null");
            return (Criteria) this;
        }

        public Criteria andShaojieriqiIsNotNull() {
            addCriterion("shaojieriqi is not null");
            return (Criteria) this;
        }

        public Criteria andShaojieriqiEqualTo(String value) {
            addCriterion("shaojieriqi =", value, "shaojieriqi");
            return (Criteria) this;
        }

        public Criteria andShaojieriqiNotEqualTo(String value) {
            addCriterion("shaojieriqi <>", value, "shaojieriqi");
            return (Criteria) this;
        }

        public Criteria andShaojieriqiGreaterThan(String value) {
            addCriterion("shaojieriqi >", value, "shaojieriqi");
            return (Criteria) this;
        }

        public Criteria andShaojieriqiGreaterThanOrEqualTo(String value) {
            addCriterion("shaojieriqi >=", value, "shaojieriqi");
            return (Criteria) this;
        }

        public Criteria andShaojieriqiLessThan(String value) {
            addCriterion("shaojieriqi <", value, "shaojieriqi");
            return (Criteria) this;
        }

        public Criteria andShaojieriqiLessThanOrEqualTo(String value) {
            addCriterion("shaojieriqi <=", value, "shaojieriqi");
            return (Criteria) this;
        }

        public Criteria andShaojieriqiLike(String value) {
            addCriterion("shaojieriqi like", value, "shaojieriqi");
            return (Criteria) this;
        }

        public Criteria andShaojieriqiNotLike(String value) {
            addCriterion("shaojieriqi not like", value, "shaojieriqi");
            return (Criteria) this;
        }

        public Criteria andShaojieriqiIn(List<String> values) {
            addCriterion("shaojieriqi in", values, "shaojieriqi");
            return (Criteria) this;
        }

        public Criteria andShaojieriqiNotIn(List<String> values) {
            addCriterion("shaojieriqi not in", values, "shaojieriqi");
            return (Criteria) this;
        }

        public Criteria andShaojieriqiBetween(String value1, String value2) {
            addCriterion("shaojieriqi between", value1, value2, "shaojieriqi");
            return (Criteria) this;
        }

        public Criteria andShaojieriqiNotBetween(String value1, String value2) {
            addCriterion("shaojieriqi not between", value1, value2, "shaojieriqi");
            return (Criteria) this;
        }

        public Criteria andShaojieluhaoIsNull() {
            addCriterion("shaojieluhao is null");
            return (Criteria) this;
        }

        public Criteria andShaojieluhaoIsNotNull() {
            addCriterion("shaojieluhao is not null");
            return (Criteria) this;
        }

        public Criteria andShaojieluhaoEqualTo(String value) {
            addCriterion("shaojieluhao =", value, "shaojieluhao");
            return (Criteria) this;
        }

        public Criteria andShaojieluhaoNotEqualTo(String value) {
            addCriterion("shaojieluhao <>", value, "shaojieluhao");
            return (Criteria) this;
        }

        public Criteria andShaojieluhaoGreaterThan(String value) {
            addCriterion("shaojieluhao >", value, "shaojieluhao");
            return (Criteria) this;
        }

        public Criteria andShaojieluhaoGreaterThanOrEqualTo(String value) {
            addCriterion("shaojieluhao >=", value, "shaojieluhao");
            return (Criteria) this;
        }

        public Criteria andShaojieluhaoLessThan(String value) {
            addCriterion("shaojieluhao <", value, "shaojieluhao");
            return (Criteria) this;
        }

        public Criteria andShaojieluhaoLessThanOrEqualTo(String value) {
            addCriterion("shaojieluhao <=", value, "shaojieluhao");
            return (Criteria) this;
        }

        public Criteria andShaojieluhaoLike(String value) {
            addCriterion("shaojieluhao like", value, "shaojieluhao");
            return (Criteria) this;
        }

        public Criteria andShaojieluhaoNotLike(String value) {
            addCriterion("shaojieluhao not like", value, "shaojieluhao");
            return (Criteria) this;
        }

        public Criteria andShaojieluhaoIn(List<String> values) {
            addCriterion("shaojieluhao in", values, "shaojieluhao");
            return (Criteria) this;
        }

        public Criteria andShaojieluhaoNotIn(List<String> values) {
            addCriterion("shaojieluhao not in", values, "shaojieluhao");
            return (Criteria) this;
        }

        public Criteria andShaojieluhaoBetween(String value1, String value2) {
            addCriterion("shaojieluhao between", value1, value2, "shaojieluhao");
            return (Criteria) this;
        }

        public Criteria andShaojieluhaoNotBetween(String value1, String value2) {
            addCriterion("shaojieluhao not between", value1, value2, "shaojieluhao");
            return (Criteria) this;
        }

        public Criteria andZhuanglurenIsNull() {
            addCriterion("zhuangluren is null");
            return (Criteria) this;
        }

        public Criteria andZhuanglurenIsNotNull() {
            addCriterion("zhuangluren is not null");
            return (Criteria) this;
        }

        public Criteria andZhuanglurenEqualTo(String value) {
            addCriterion("zhuangluren =", value, "zhuangluren");
            return (Criteria) this;
        }

        public Criteria andZhuanglurenNotEqualTo(String value) {
            addCriterion("zhuangluren <>", value, "zhuangluren");
            return (Criteria) this;
        }

        public Criteria andZhuanglurenGreaterThan(String value) {
            addCriterion("zhuangluren >", value, "zhuangluren");
            return (Criteria) this;
        }

        public Criteria andZhuanglurenGreaterThanOrEqualTo(String value) {
            addCriterion("zhuangluren >=", value, "zhuangluren");
            return (Criteria) this;
        }

        public Criteria andZhuanglurenLessThan(String value) {
            addCriterion("zhuangluren <", value, "zhuangluren");
            return (Criteria) this;
        }

        public Criteria andZhuanglurenLessThanOrEqualTo(String value) {
            addCriterion("zhuangluren <=", value, "zhuangluren");
            return (Criteria) this;
        }

        public Criteria andZhuanglurenLike(String value) {
            addCriterion("zhuangluren like", value, "zhuangluren");
            return (Criteria) this;
        }

        public Criteria andZhuanglurenNotLike(String value) {
            addCriterion("zhuangluren not like", value, "zhuangluren");
            return (Criteria) this;
        }

        public Criteria andZhuanglurenIn(List<String> values) {
            addCriterion("zhuangluren in", values, "zhuangluren");
            return (Criteria) this;
        }

        public Criteria andZhuanglurenNotIn(List<String> values) {
            addCriterion("zhuangluren not in", values, "zhuangluren");
            return (Criteria) this;
        }

        public Criteria andZhuanglurenBetween(String value1, String value2) {
            addCriterion("zhuangluren between", value1, value2, "zhuangluren");
            return (Criteria) this;
        }

        public Criteria andZhuanglurenNotBetween(String value1, String value2) {
            addCriterion("zhuangluren not between", value1, value2, "zhuangluren");
            return (Criteria) this;
        }

        public Criteria andJiaohuoriIsNull() {
            addCriterion("jiaohuori is null");
            return (Criteria) this;
        }

        public Criteria andJiaohuoriIsNotNull() {
            addCriterion("jiaohuori is not null");
            return (Criteria) this;
        }

        public Criteria andJiaohuoriEqualTo(String value) {
            addCriterion("jiaohuori =", value, "jiaohuori");
            return (Criteria) this;
        }

        public Criteria andJiaohuoriNotEqualTo(String value) {
            addCriterion("jiaohuori <>", value, "jiaohuori");
            return (Criteria) this;
        }

        public Criteria andJiaohuoriGreaterThan(String value) {
            addCriterion("jiaohuori >", value, "jiaohuori");
            return (Criteria) this;
        }

        public Criteria andJiaohuoriGreaterThanOrEqualTo(String value) {
            addCriterion("jiaohuori >=", value, "jiaohuori");
            return (Criteria) this;
        }

        public Criteria andJiaohuoriLessThan(String value) {
            addCriterion("jiaohuori <", value, "jiaohuori");
            return (Criteria) this;
        }

        public Criteria andJiaohuoriLessThanOrEqualTo(String value) {
            addCriterion("jiaohuori <=", value, "jiaohuori");
            return (Criteria) this;
        }

        public Criteria andJiaohuoriLike(String value) {
            addCriterion("jiaohuori like", value, "jiaohuori");
            return (Criteria) this;
        }

        public Criteria andJiaohuoriNotLike(String value) {
            addCriterion("jiaohuori not like", value, "jiaohuori");
            return (Criteria) this;
        }

        public Criteria andJiaohuoriIn(List<String> values) {
            addCriterion("jiaohuori in", values, "jiaohuori");
            return (Criteria) this;
        }

        public Criteria andJiaohuoriNotIn(List<String> values) {
            addCriterion("jiaohuori not in", values, "jiaohuori");
            return (Criteria) this;
        }

        public Criteria andJiaohuoriBetween(String value1, String value2) {
            addCriterion("jiaohuori between", value1, value2, "jiaohuori");
            return (Criteria) this;
        }

        public Criteria andJiaohuoriNotBetween(String value1, String value2) {
            addCriterion("jiaohuori not between", value1, value2, "jiaohuori");
            return (Criteria) this;
        }

        public Criteria andGongxuIsNull() {
            addCriterion("gongxu is null");
            return (Criteria) this;
        }

        public Criteria andGongxuIsNotNull() {
            addCriterion("gongxu is not null");
            return (Criteria) this;
        }

        public Criteria andGongxuEqualTo(String value) {
            addCriterion("gongxu =", value, "gongxu");
            return (Criteria) this;
        }

        public Criteria andGongxuNotEqualTo(String value) {
            addCriterion("gongxu <>", value, "gongxu");
            return (Criteria) this;
        }

        public Criteria andGongxuGreaterThan(String value) {
            addCriterion("gongxu >", value, "gongxu");
            return (Criteria) this;
        }

        public Criteria andGongxuGreaterThanOrEqualTo(String value) {
            addCriterion("gongxu >=", value, "gongxu");
            return (Criteria) this;
        }

        public Criteria andGongxuLessThan(String value) {
            addCriterion("gongxu <", value, "gongxu");
            return (Criteria) this;
        }

        public Criteria andGongxuLessThanOrEqualTo(String value) {
            addCriterion("gongxu <=", value, "gongxu");
            return (Criteria) this;
        }

        public Criteria andGongxuLike(String value) {
            addCriterion("gongxu like", value, "gongxu");
            return (Criteria) this;
        }

        public Criteria andGongxuNotLike(String value) {
            addCriterion("gongxu not like", value, "gongxu");
            return (Criteria) this;
        }

        public Criteria andGongxuIn(List<String> values) {
            addCriterion("gongxu in", values, "gongxu");
            return (Criteria) this;
        }

        public Criteria andGongxuNotIn(List<String> values) {
            addCriterion("gongxu not in", values, "gongxu");
            return (Criteria) this;
        }

        public Criteria andGongxuBetween(String value1, String value2) {
            addCriterion("gongxu between", value1, value2, "gongxu");
            return (Criteria) this;
        }

        public Criteria andGongxuNotBetween(String value1, String value2) {
            addCriterion("gongxu not between", value1, value2, "gongxu");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNull() {
            addCriterion("delete_flag is null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNotNull() {
            addCriterion("delete_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagEqualTo(String value) {
            addCriterion("delete_flag =", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotEqualTo(String value) {
            addCriterion("delete_flag <>", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThan(String value) {
            addCriterion("delete_flag >", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThanOrEqualTo(String value) {
            addCriterion("delete_flag >=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThan(String value) {
            addCriterion("delete_flag <", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThanOrEqualTo(String value) {
            addCriterion("delete_flag <=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLike(String value) {
            addCriterion("delete_flag like", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotLike(String value) {
            addCriterion("delete_flag not like", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIn(List<String> values) {
            addCriterion("delete_flag in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotIn(List<String> values) {
            addCriterion("delete_flag not in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagBetween(String value1, String value2) {
            addCriterion("delete_flag between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotBetween(String value1, String value2) {
            addCriterion("delete_flag not between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andTenantIdIsNull() {
            addCriterion("tenant_id is null");
            return (Criteria) this;
        }

        public Criteria andTenantIdIsNotNull() {
            addCriterion("tenant_id is not null");
            return (Criteria) this;
        }

        public Criteria andTenantIdEqualTo(Long value) {
            addCriterion("tenant_id =", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotEqualTo(Long value) {
            addCriterion("tenant_id <>", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdGreaterThan(Long value) {
            addCriterion("tenant_id >", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdGreaterThanOrEqualTo(Long value) {
            addCriterion("tenant_id >=", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLessThan(Long value) {
            addCriterion("tenant_id <", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdLessThanOrEqualTo(Long value) {
            addCriterion("tenant_id <=", value, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdIn(List<Long> values) {
            addCriterion("tenant_id in", values, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotIn(List<Long> values) {
            addCriterion("tenant_id not in", values, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdBetween(Long value1, Long value2) {
            addCriterion("tenant_id between", value1, value2, "tenantId");
            return (Criteria) this;
        }

        public Criteria andTenantIdNotBetween(Long value1, Long value2) {
            addCriterion("tenant_id not between", value1, value2, "tenantId");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}